import _fetch from '@/Api/request.js'

function getRcodeApi (data) {
  return _fetch({
    url: '/sendsms',
    method: 'post',
    data
  })
}
function registerApi (data) {
  return _fetch({
    url: '/register',
    method: 'post',
    data
  })
}

export { getRcodeApi, registerApi }
